* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.game-wrapper {
  max-width: 420px;
  margin: auto;
  border: 2px solid #424242;
  position: relative;
  margin-top: 16px;
  user-select: none;
}

.game-wrapper canvas.game-ui {
  display: block;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.game-wrapper ul.keyboard {
  list-style: none;
  position: absolute;
  z-index: 1;
  top: -10000px;
  right: 12px;
  left: 12px;
  text-align: center;
  display: flex;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, .2) 0 0 10px;
  transition: transform .24s ease, opacity .24s ease;
  transform: scale(0, 1);
  opacity: 0;
}

.game-wrapper ul.keyboard.show {
  transform: scale(1, 1);
  opacity: 1;
}

.game-wrapper ul.keyboard li {
  width: 11.11%;
  cursor: pointer;
  color: #00e;
}

.game-wrapper ul.keyboard li + li {
  border-left: 1px solid #f2f2f2;
}

.game-wrapper ul.keyboard li:hover {
  background-color: #f6f6f6;
}

.game-wrapper ul.keyboard li:active {
  color: #e00;
  background-color: #eee;
}